package cn.tqfeiyang.smartadmin.office.request;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.tqfeiyang.smartadmin.commons.pagination.*;
import lombok.Data;

import cn.tqfeiyang.smartadmin.office.entity.NoticeCategoryEntity;

/**
 * 通知分类查询请求
 *
 * @author tqfeiyang
 * @since 2024-09-10
 */
@Data
@QueryTable(entityClass = NoticeCategoryEntity.class, orderBy = "sort")
public class NoticeCategoryQueryDTO extends QueryParams {

    /**
     * 关键字
     */
    @Schema(description = "关键字")
    @QueryColumn(column = "name", logic = QueryLogic.like)
    private String keywords;


    /**
     * 名称
     */
    @Schema(description = "名称")
    @QueryColumn(logic = QueryLogic.like)
    private String name;

}